isAdmin

  • function
 

app.isAdmin()

Returns

{Boolean}

The value of user.isAdmin on the session model, if present. Otherwise, false.